package com.shanling.shanlingcontroller.persenter.contract;

import android.content.Context;

import com.shanling.shanlingcontroller.bean.FolderInfo;
import com.shanling.shanlingcontroller.bean.Music;
import com.shanling.shanlingcontroller.persenter.BasePersenter;
import com.shanling.shanlingcontroller.ui.BaseView;

import java.util.List;

/**
 * Created by ch1 on 2019/11/22.
 */

public interface FoldersContract {

    interface View extends BaseView {

        //显示进度中
        void showLoading();
        //隐藏进度
        void hideLoading();
        void showEmptyView();
        void showFolders(List<FolderInfo> folderInfos);
    }

    interface Presenter extends BasePersenter<View> {
        void loadFolders(Context context);
    }
}
